package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;

import javax.persistence.*;

import org.apache.commons.lang.builder.ToStringBuilder;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the PS_C_WF_APT_EDU database table.
 * 
 */
@Entity
@Table(name="PS_C_WF_APT_EDU")
@NamedQuery(name="PsCWfAptEdu.findAll", query="SELECT p FROM PsCWfAptEdu p")
@IdClass(PsCWfAptPrimary.class)
public class PsCWfAptEdu implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="C_APPLICANT_ID")
	private String cApplicantId;

	@Column(name="C_DEGREE")
	private String cDegree;

	@Column(name="C_EDUCITON")
	private String cEduciton;

	@Id
	@Column(name="C_TRANSACTION_NBR")
	private String cTransactionNbr;

	@Temporal(TemporalType.DATE)
	@Column(name="END_DATE")
	private Date endDate;

	@Column(name="HIGH_EDU_LVL_MEX")
	private String highEduLvlMex;

	private String major;

	private String school;

	@Id
	private BigDecimal seqnbr;

	@Temporal(TemporalType.DATE)
	@Column(name="START_DATE")
	private Date startDate;

	public PsCWfAptEdu() {
	}

	public String getcApplicantId() {
		return cApplicantId;
	}

	public void setcApplicantId(String cApplicantId) {
		this.cApplicantId = cApplicantId;
	}

	public String getcDegree() {
		return cDegree;
	}

	public void setcDegree(String cDegree) {
		this.cDegree = cDegree;
	}

	public String getcEduciton() {
		return cEduciton;
	}

	public void setcEduciton(String cEduciton) {
		this.cEduciton = cEduciton;
	}

	public String getcTransactionNbr() {
		return cTransactionNbr;
	}

	public void setcTransactionNbr(String cTransactionNbr) {
		this.cTransactionNbr = cTransactionNbr;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getHighEduLvlMex() {
		return highEduLvlMex;
	}

	public void setHighEduLvlMex(String highEduLvlMex) {
		this.highEduLvlMex = highEduLvlMex;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public BigDecimal getSeqnbr() {
		return seqnbr;
	}

	public void setSeqnbr(BigDecimal seqnbr) {
		this.seqnbr = seqnbr;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}